package com.xiaodao.config;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
//@Aspect
public class AopConfig {

	@Pointcut("execution(public * com.xiaodao.beandefinition.*.*(..))")
	public void testPointCut(){

	}

	@Before("testPointCut()")
	public void before(){
		System.out.println("-------aop------");
	}
}
